package site.xuxingcan.Model;

/**
 * Created by xuxingcan on 16-6-27.
 */
public class HongBaoModel implements Comparable<HongBaoModel> {
    public static final String NOT_YAZHU = "NOT_YAZHU";
    public static final String OK = "OK";
    public static final String WIN = "WIN";
    public static final String LOSE = "LOSE";

    public String userName;
    public float money;
    public long time;
    public String info;
    public int rate;
    public boolean isBanker = false;
    public int yazhuIntegral;
    public int resultIntegral = 0;

    @Override
    public int compareTo(HongBaoModel o) {
        return o.rate - this.rate > 0 ? 1 : -1;
    }
}
